< previous page page_640 next page >

Page 640
(table continued from previous page)
PropertyDescription
ShowTodaySet this property to True if you want to display the area at the bottom of the MonthView control that allows the user to always return to the current date.
ShowWeekNumberSet this property to True if you want to display the week number next to each week in the MonthView control. This is the number of weeks since the start of the calendar year.
StartOfWeekYou can set this property to any day of the week that you want to appear in the leftmost column in the MonthView control. For example, if you want to have Monday as the leftmost day, you would set this property to the constant mvwMonday.
SelEndThis property returns the first date the user selected in a multiple-date selection.
SelStartThis property returns the last date the user selected in a multiple-date selection.
WeekThis is the week number since the start of the calendar year.

Events of the MonthView Control
The MonthView control has many events you can respond to when the user interacts with it. Table 31.6 gives you an idea of what some of these events are and what you might do with them.
Table 31.6 Events of the MonthView Control.
Event NameDescription
DateClickThis event is fired whenever the user clicks a date. You might use this to update a screen full of employee interviews for a given date.
DateDblClickThis event is fired whenever the user double-clicks a date. You might use this to bring up a data entry form for entering a new employee interview for that date.

(table continued on next page)

 
< previous page page_640 next page >

If you like this book, buy it!